package com.cupcorn.balapkarung;

import org.andengine.engine.options.ScreenOrientation;

import com.cupcorn.balapkarung.state.StateGameOver;
import com.cupcorn.balapkarung.state.StateGamePlay;
import com.cupcorn.lib.game.GameEngine;
import com.cupcorn.lib.game.element.GameElementFont;
import com.cupcorn.lib.game.element.GameElementMusic;
import com.cupcorn.lib.game.element.GameElementState;

public class MainActivity extends GameEngine implements GameDefine
{	
	GameElementState	elementState[]	=
	{
		new GameElementState(new StateGamePlay(this), false, true, true, true, true, false, STATE_GAME_PLAY, STATE_GAME_OVER),
		new GameElementState(new StateGameOver(this), false, true, true, true, true, false),
	};
	
	public ScreenOrientation gameOrientation()
	{
		return ScreenOrientation.LANDSCAPE_FIXED;
	}
	
	protected GameElementState[] gameState()
	{
		return elementState;
	}
	
	protected GameElementFont[] gameFont()
	{
		return null;
	}
	
	protected GameElementMusic[] gameMusic()
	{
		return null;
	}
	
	protected GameElementMusic[] gameSound()
	{
		return null;
	}
}
